package com.PVZ.event;

import com.PVZ.model.Entity;
import com.PVZ.model.emuns.EventType;

/**
 * Created by @Author: kabuda on @Date: 2021/6/22 21:45
 */
public class DeadEvent extends Event{
    Entity deadEntity;

    public DeadEvent(Entity entity){
        eventType = EventType.Dead;
        this.deadEntity = entity;
    }
}
